package com.speedchina.doormanager.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

@TableName("dt_doorplate_log")
public class DoorPlateLog extends SuperEntity<DoorPlateLog>{

    @TableField("assignment_id")
    private String taskId;

    @TableField("doorPlate_id")
    private String doorPlateId;

    @TableField("anzhuangzheName")
    private String anzhuangzheName;

    @TableField("lat")
    private Double lat;

    private Double lng;

    private String imgUrl;

    private String remark;

    private String sortId;

    /**
     * 巡检异常状态
     */
    private String xunjianExceptionStatus;

    private String weihuExceptionStatus;

    private String taskType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss”, timezone = “GMT+8")
    private Date addTime;


    public String getWeihuExceptionStatus() {
        return weihuExceptionStatus;
    }

    public void setWeihuExceptionStatus(String weihuExceptionStatus) {
        this.weihuExceptionStatus = weihuExceptionStatus;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getXunjianExceptionStatus() {
        return xunjianExceptionStatus;
    }

    public void setXunjianExceptionStatus(String xunjianExceptionStatus) {
        this.xunjianExceptionStatus = xunjianExceptionStatus;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getDoorPlateId() {
        return doorPlateId;
    }

    public void setDoorPlateId(String doorPlateId) {
        this.doorPlateId = doorPlateId;
    }

    public String getAnzhuangzheName() {
        return anzhuangzheName;
    }

    public void setAnzhuangzheName(String anzhuangzheName) {
        this.anzhuangzheName = anzhuangzheName;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSortId() {
        return sortId;
    }

    public void setSortId(String sortId) {
        this.sortId = sortId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }


    @Override
    public String toString() {
        return "DoorPlateLog{" +
                "taskId='" + taskId + '\'' +
                ", doorPlateId='" + doorPlateId + '\'' +
                ", anzhuangzheName='" + anzhuangzheName + '\'' +
                ", lat=" + lat +
                ", lng=" + lng +
                ", imgUrl='" + imgUrl + '\'' +
                ", remark='" + remark + '\'' +
                ", sortId='" + sortId + '\'' +
                ", addTime=" + addTime +
                '}';
    }
}
